import request from '@/utils/request'

// 查询列表
export function qrcodeContentList(query) {
  return request({
    url: '/qrcodeContent/list',
    method: 'post',
    params: query
  })
}
//删除
export function qrcodeContentRemove(ids) {
  return request({
    url: '/qrcodeContent/remove',
    method: 'post',
    data: ids
  })
}

//保存
export function qrcodeContentSave(data) {
  return request({
    url: '/qrcodeContent/save',
    method: 'post',
    data: data
  })
}

// 查询详细
export function getQrcodeContent(id) {
  return request({
    url: '/qrcodeContent/' + id,
    method: 'get'
  })
}

// 绑定二维码组
export function qrcodeContentBindGroup(data) {
  return request({
    url: '/qrcodeContent/bindGroup',
    method: 'post',
    params: data
  })
}

// 解绑二维码组
export function unbindGroupBindGroup(data) {
  return request({
    url: '/qrcodeContent/unbindGroup',
    method: 'post',
    params: data
  })
}